package com.jzr.board.db1.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * 设备
 * </p>
 *
 * @author henry
 * @since 2019-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TDevice对象", description="设备")
public class TDevice implements Serializable {
    private static final long serialVersionUID = 1L;
    public static final String TableName = "t_device";
    public static final String Id_ = "id";
    public static final String DeviceNo_ = "device_no";
    public static final String DeviceMac_ = "device_mac";
    public static final String DeviceIp_ = "device_ip";
    public static final String DeviceType_ = "device_type";
    public static final String RegisterBed_ = "register_bed";
    public static final String RegisterState_ = "register_state";
    public static final String AppVersion_ = "app_version";
    public static final String NurseboardIp_ = "nurseboard_ip";
    public static final String LastUpTime_ = "last_up_time";
    public static final String LastAppVersion_ = "last_app_version";
    public static final String DeptCode_ = "dept_code";
    public static final String UpdateTime_ = "update_time";
    public static final String UpdateBy_ = "update_by";
    public static final String IsDel_ = "is_del";


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "设备号")
    @TableField("device_no")
    private String deviceNo;

    @ApiModelProperty(value = "设备mac地址")
    @TableField("device_mac")
    private String deviceMac;

    @ApiModelProperty(value = "设备ip地址")
    @TableField("device_ip")
    private String deviceIp;

    @ApiModelProperty(value = "设备类型 0:床头卡 1:护理看板 2:移动PDA")
    @TableField("device_type")
    private Integer deviceType;

    @ApiModelProperty(value = "绑定的床ID")
    @TableField("register_bed")
    private Integer registerBed;

    @ApiModelProperty(value = "绑定的状态 0:未绑定 1:绑定中")
    @TableField("register_state")
    private Integer registerState;

    @ApiModelProperty(value = "设备当前app版本号")
    @TableField("app_version")
    private Float appVersion;

    @ApiModelProperty(value = "护理看板ip地址")
    @TableField("nurseboard_ip")
    private String nurseboardIp;

    @ApiModelProperty(value = "最后更新时间")
    @TableField("last_up_time")
    private LocalDateTime lastUpTime;

    @ApiModelProperty(value = "最新APP版本号")
    @TableField("last_app_version")
    private String lastAppVersion;

    @ApiModelProperty(value = "科室编号")
    @TableField("dept_code")
    private String deptCode;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "更新人")
    @TableField("update_by")
    private Integer updateBy;

    @ApiModelProperty(value = "删除标记")
    @TableField("is_del")
    private Boolean isDel;


}
